<?php

/**
 * Editionoptions form.
 *
 * @package    briefing
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class EditionoptionsForm extends BaseEditionoptionsForm
{
  public function configure()
  {
    //refactoring
    $form = new ClientorderCollectionForm(null,array(
        'editionoptionsid' => $this->getObject(),
    ));
    $this->embedForm('edition options form', $form);
    
    //Old style
//    $subForm = new sfForm();
//    $clientOrder = new Clientorder();
//    $clientOrder->setEditionoptions($this->getObject());
//    
//    $form = new ClientorderForm($clientOrder);
//    $subForm->embedForm('Client order form', $form);
//    $this->embedForm('edition options form', $subForm);
    
  }
}
